package oop12;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Divide {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);

        System.out.println("请输入被除数：");
//        if(in.hasNextInt())
//        {
//            int a=in.nextInt();
//        }
        int a=in.nextInt();
        System.out.println("请输入除数：");
        int b=in.nextInt();
        int shang=a/b;
        System.out.println("商是："+shang);
    }
}
